﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;
using System.Web.Http;
using System.Web.Mvc;

using Microsoft.AspNet.SignalR;

namespace ERPStore.Web.Tasks
{
	public class PluginInit : ERPStore.Tasks.PluginInit
	{
		public override void RegisterRoutes()
		{
			base.RegisterRoutes();
			RouteTable.Routes.MapHttpRoute(
				"TasksApi"
				, "api/tasksapi/{action}/{id}"
				, new { controller = "TasksApi", action = "Ping", id = UrlParameter.Optional }
				);

		}

	}


}
